package com.ldf.jrtsp.callback;

import com.ldf.jrtsp.enums.RtpPayloadType;
import com.sun.jna.Pointer;

/**
 * 裸码流回调
 *
 * @author lidaofu
 * @since 2024/6/21
 **/
public interface BareStreamCallBack {


    /**
     * 裸码流回调
     *
     * @param type
     * @param data
     * @param timestamp
     */
    void callBack(RtpPayloadType type, Pointer data, int dataSize, long timestamp);

}
